package com.platform.modules.cpt.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.modules.cpt.entity.CptAcceptanceConditionEntity;
import com.platform.modules.cpt.entity.CptAcceptanceEntity;


public interface CptAcceptanceConditionService extends IService<CptAcceptanceConditionEntity> {

	CptAcceptanceConditionEntity queryOne(Map<String, Object> params);
	
	/**
	 * 生成 工程竣工验收监督条件核查记录一(后续盖章)
	 * @param execution
	 */
	Map<String, Object> createGcjgysjdtjhcjl1File(CptAcceptanceEntity cptAcceptanceEntity);
	
	/**
	 * 生成 工程竣工验收监督条件核查记录二(后续盖章)
	 * @param execution
	 */
	Map<String, Object> createGcjgysjdtjhcjl2File(CptAcceptanceEntity cptAcceptanceEntity);

	/**
	 * 下载 工程竣工验收监督条件核查记录一文件流
	 * @param execution
	 */
	void downloadGcjgysjdtjhcjlFile(String cptId, HttpServletRequest request, HttpServletResponse response, String attCode);
	
	/**
	 * 盖章-工程竣工验收监督条件核查记录一 文件
	 * @param request
	 * @param cptId
	 */
	void signGcjgysjdtjhcjlFile(HttpServletRequest request, String cptId, String attCode, String FileName);
	
	/**
	 * 下载 工程竣工验收监督条件核查记录文件
	 * @param execution
	 */
	void downloadSignGcjgysjdtjhcjlFile(String cptId, HttpServletRequest request, HttpServletResponse response, String attCode);
}
